{% extends "base_en.html" %}
{% block content %}
<div>
<fieldset style="width:{{size.0}}px">
<legend>Reports</legend>
<form method="post" action="/report/">
<div>
 Chart Type:
<select name="charttype">
<option {%ifequal selectedreport.charttype 'bar'%}selected="selected"{%endifequal%} value="bar">Bar</option>
<option {%ifequal selectedreport.charttype 'line'%}selected="selected"{%endifequal%}  value="line">Line</option>
<option {%ifequal selectedreport.charttype 'pie'%}selected="selected"{%endifequal%}  value="pie">Pie</option>
</select>
&nbsp;[By
<select name="reporttype">
<option {%ifequal selectedreport.reporttype 'date'%}selected="selected"{%endifequal%} value="date">Date</option>
<option {%ifequal selectedreport.reporttype 'month'%}selected="selected"{%endifequal%} value="month">Month</option>
<option {%ifequal selectedreport.reporttype 'user'%}selected="selected"{%endifequal%} value="user">Person</option>
</select>
 Show
<select name="count">
<option {%ifequal selectedreport.count 6%}selected="selected"{%endifequal%} value="6">6</option>
<option {%ifequal selectedreport.count 8%}selected="selected"{%endifequal%} value="8">8</option>
<option {%ifequal selectedreport.count 12%}selected="selected"{%endifequal%} value="12">12</option>
</select>
items]&nbsp;
<input type="submit" value="Show"/>
<hr/>
<img src="{{imagepath}}" alt="Chart" width = "{{size.0}}" height="{{size.1}}"/>
</div>
</form>
</fieldset>
</div>
{% endblock %}
